package com.ruoyi.dynamic.domain;
import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 发布活动时间对象 t_user_dynamic_time
 * 
 * @author DEREK
 * @date 2023-10-11
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_dynamic_time")
public class UserDynamicTime
{

    /** 主键ID */
	 @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long dynamicId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String content;

    /** 日期 */
    @Excel(name = "日期")
    private String veryDate;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String begTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    private String remark;
    
    private Integer isReservation;
    private Date reservationTime;
    private BigDecimal amount;
    private Long reservationUserId;
    @TableField(exist = false)
    private String nickName;
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dynamicId", getDynamicId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("veryDate", getVeryDate())
            .append("begTime", getBegTime())
            .append("endTime", getEndTime())
            .append("remark", getRemark())
            .toString();
    }
}
